﻿/*----------------------------------------------------------------
// Copyright (C) 2011 上海
// 版权所有。 
//
// 文件名：TempCardInfoVM
// 文件功能描述：临时卡资料维护models层
//
// 
// 创建标识：2012-06-29 王冲
//
// 修改标识：
// 修改描述：
//
//
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace WaiGaoQiaoWeb.Models
{
    public class TempCardInfoVM
    {
        public int PID
        {
            get;
            set;
        }
        public string DeptName
        {
            get;
            set;
        }
        [Remote("CheckDep_ID", "TempCardInfo", AdditionalFields = "Dep_ID", HttpMethod = "POST", ErrorMessage = "部门名称不能为空!")]
        public int DEP_ID
        {
            get;
            set;
        }
        [Remote("CheckEmpNo", "TempCardInfo", AdditionalFields = "EMPNO,PID", HttpMethod = "POST", ErrorMessage = "人员编号不能重复!")]
        public string EMPNO
        {
            get;
            set;
        }
        public string PName
        {
            get;
            set;
        }
        public string CARDSTATUS
        {
            get;
            set;
        }
        public string CARDSERIAL
        {
            get;
            set;
        }
        public string Balance
        {
            get;
            set;
        }
        public string EnrollDate
        {
            get;
            set;
        }
        public int GroupIdDept
        {
            get;
            set;
        }
        public int structrueId
        {
            get;
            set;
        }

        public string KZT
        {
            get;
            set;
        }
    }
}